<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="referrer" content="no-referrer" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        img{
            width: 30%;
        }
    </style>
</head>
<body>
    <div id="container"></div>
</body>
<script>
    var xhr = new XMLHttpRequest();

    xhr.open("GET","/dt?include_fields=top_comments%2Cis_root%2Csource_link%2Citem%2Cbuyable%2Croot_id%2Cstatus%2Clike_count%2Csender%2Calbum%2Creply_count&filter_id=美食菜谱&start=24&_=1594455112776");
    xhr.send();
    xhr.onreadystatechange = function(){
        if(xhr.readyState === 4 && /^2[\d]{2}/.test(xhr.status)){
            var data = JSON.parse(xhr.responseText);
            var list = data.data.object_list;
            var html = "";
            for(var i=0;i<list.length;i++){
                html += `
                    <li>
                        <img src="${list[i].photo.path}"
                        <h2>${list[i].msg}</h2>
                    </li>
                `
            }
            document.querySelector('#container').innerHTML = html;
        }
    }
</script>
</html>